-- GENERATED SPELL FOR [Cenarion Vindicator] --


function spell0_3833(pUnit, Event) --@Moonfire,n/a--
pUnit:FullCastSpellOnTarget(15798,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_3833', 12000, 1)
end

function Sorts_3833(pUnit, Event)
local choix_sorts_3833 = math.random(0, 0)
if choix_sorts_3833 == 0 then
pUnit:RegisterEvent('spell0_3833', 1, 1)
end
end

function mob3833_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_3833', math.random(1500, 3000), 1)
end

function mob3833_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob3833_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob3833_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(3833, 1, 'mob3833_Action')
RegisterUnitEvent(3833, 2, 'mob3833_Leave')
RegisterUnitEvent(3833, 3, 'mob3833_Kill')
RegisterUnitEvent(3833, 4, 'mob3833_Die')
